package gold.digger;

/**
 * Created by fanzhenyu02 on 2020/3/1.
 */
public class LC28 {

    public int strStr(String haystack, String needle) {
        return haystack.indexOf(needle);
    }

    public static void main(String[] args) {
        LC28 an = new LC28();
        System.out.println(an.strStr("hello", "fff"));
    }
}
